﻿@model Kongt.Web.Models.LoginModel
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>欢迎登录合作市水务热力有限责任公司自来水用户及收费管理系统</title>
    <link href="/css/style.css" rel="stylesheet" type="text/css" />
    <script language="JavaScript" src="/js/jquery.js"></script> 
    @Scripts.Render("~/bundles/jquery") 
    <script language="javascript">
        $(function () {
            $('.loginbox').css({ 'position': 'absolute', 'left': ($(window).width() - 638) / 2 });
            $(window).resize(function () {
                $('.loginbox').css({ 'position': 'absolute', 'left': ($(window).width() - 638) / 2 });
            })
        });
    </script>

</head>

<body style="background-color:#1c77ac; background-image:url(/images/light.png); background-repeat:no-repeat; background-position:center top; overflow:hidden;">
    <div id="mainBody">
        <div id="cloud1" class="cloud"></div>
        <div id="cloud2" class="cloud"></div>
    </div>


    <div class="logintop">
        <span>欢迎登录合作市水务热力有限责任公司自来水用户及收费管理系统</span>
        <ul>
            <li><a href="#">回首页</a></li>
            <li><a href="#">帮助</a></li>
            <li><a href="#">关于</a></li>
        </ul>
    </div>

    <div class="loginbody">

        <span class="systemlogo"></span>

        <div class="loginbox">
            @using (Html.BeginForm("Index", "Login", FormMethod.Post))
            {
                <ul>
                    <li>
                        @Html.TextBoxFor(item => item.UserName, new { @class = "loginuser", onclick = "JavaScript:this.value=''" })
                        @Html.ValidationMessageFor(item => item.UserName,null,new { style="color:red"})
                    </li>
                    <li>
                        @Html.PasswordFor(item => item.Password, new { @class = "loginpwd", onclick = "JavaScript:this.value=''" })
                        @Html.ValidationMessageFor(item => item.Password, null, new { style = "color:red" })
                    </li>
                    <li>
                        <input name="" type="submit" class="loginbtn" value="登录" /> 
                        @*<label>
                            @Html.CheckBoxFor(item => item.RememberPassword) 记住密码
                        </label>
                        <label>
                            <a href="#">忘记密码？</a>
                        </label>*@
                    </li>
                </ul>
            }

        </div>

    </div>
    <div class="loginbm">技术支持：甘肃丰蓉科技信息有限公司    </div>
</body>
</html>
